package com.zhonghui.mes.domain;

import com.zhonghui.common.core.domain.BaseEntity;
import com.zhonghui.wms.domain.WmsMaterial;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.zhonghui.common.annotation.Excel;

/**
 * 检验标准对象 mes_inspection_standards
 * 
 * @author zhonghui
 * @date 2022-05-22
 */
@ApiModel("检验标准对象")
public class MesInspectionStandards extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    @ApiModelProperty("编号")
    private Long id;

    /** 物料ID */
    @ApiModelProperty("物料ID")
    @Excel(name = "物料ID")
    private Long materialId;


    /** 检验项 */
    @ApiModelProperty("检验项")
    @ Excel(name = "检验项")
    private String checkItem;

    /** 检验类型 */
    @ApiModelProperty("检验类型")
    @Excel(name = "检验类型")
    private Integer checkType;

    /** 标准值上限 */
    @ApiModelProperty("标准值上限")
    @Excel(name = "标准值上限")
    private Double upLimit;

    /** 标准值下限 */
    @ApiModelProperty("标准值下限")
    @Excel(name = "标准值下限")
    private Double lowerLimit;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }
    public void setMaterialId(Long materialId)
    {
        this.materialId = materialId;
    }

    public Long getMaterialId() 
    {
        return materialId;
    }
    public void setCheckItem(String checkItem) 
    {
        this.checkItem = checkItem;
    }

    public String getCheckItem()
    {
        return checkItem;
    }
    public void setCheckType(Integer checkType)
    {
        this.checkType = checkType;
    }

    public Integer getCheckType()
    {
        return checkType;
    }
    public void setUpLimit(Double upLimit)
    {
        this.upLimit = upLimit;
    }

    public Double getUpLimit()
    {
        return upLimit;
    }
    public void setLowerLimit(Double lowerLimit)
    {
        this.lowerLimit = lowerLimit;
    }

    public Double getLowerLimit()
    {
        return lowerLimit;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("materialId", getMaterialId())
            .append("checkItem", getCheckItem())
            .append("checkType", getCheckType())
            .append("upLimit", getUpLimit())
            .append("lowerLimit", getLowerLimit())
            .toString();
    }
}
